package csvs

import "fmt"

type ConfigBanWord struct {
	Id int
	Txt string
}

var ConfigBanWordSlice []*ConfigBanWord

func init()  {
	ConfigBanWordSlice = append(ConfigBanWordSlice,
		&ConfigBanWord{1, "外挂"},
		&ConfigBanWord{2, "微信"},
		&ConfigBanWord{3, "赚钱"},
		&ConfigBanWord{4, "股票"},
		&ConfigBanWord{5, "代练"})

	fmt.Println("csv_banword初始化")
}

func GetBanWordbase() []string {
	realString := make([]string, 0)

	for _, v := range ConfigBanWordSlice{
		realString = append(realString, v.Txt)
	}

	return realString
}